<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>头部</title>
    <link rel="stylesheet" href="../../../demo/icon/iconfont.css">
    <style>
        body {
            margin: 0;
        }
        ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        header {
            width: 100%;
            height: 50px;
            background-color: grey;
        }
        /* 公共样式：版心容器 */
        .center-wrapper {
            display: flex;
            justify-content: center;
        }
        /* 公共样式：版心 */
        .center {
            width: 1200px;
            height: 100%;
            background-color: hotpink;
        }
        /* 头部 版心定制 */
        header .center {
            display: flex;
            justify-content: flex-end;
        }

        header ul {
            height: 100%;
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #fff;
            line-height: 1;
        }
        header li {
            padding: 0 8px;
            border-right: 1px solid #ccc;
        }
        header li:last-child {
            border: none;
        }
        header li:hover {
            color: indigo;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <!-- 头部 -->
    <header class="center-wrapper">
        <!-- 版心 -->
        <div class="center">
            <ul>
                <li>请先登录</li>
                <li>请先登录</li>
                <li>请先登录</li>
                <li>请先登录</li>
                <li>请先登录</li>
                <li>请先登录</li>
                <li>
                    <span class="iconfont icon-arrow-left-bold"></span>
                    手机版
                </li>
            </ul>
        </div>
    </header>
</body>
</html>